package com.t3.events
{
	import com.t3.fx.DropArea;
	
	import flash.events.Event;

	public class DragEvent extends Event
	{
		public static const OBJECT_MOVED:String = "objectMoved";
		public static const OBJECT_DROPPED:String = "objectDropped";
		public static const OBJECT_REMOVED:String = "objectRemoved";
		
		private var _dropArea:DropArea;
		
		public function DragEvent(type:String, dropArea:DropArea, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			
			_dropArea = dropArea;
		}
		
		public function get dropArea():DropArea
		{
			return _dropArea;
		}
	}
}